<?php

namespace App\Models\Game;

use Illuminate\Database\Eloquent\Model;

class ClientVersion extends Model
{
    protected $table = "client_group";

    public $timestamps = false;


    public function channels(){ //分组下的渠道列表
        return $this->belongsToMany(GameChannel::class,'group_channel','server_group_id','game_channel_id');
    }
    public function packages(){ //分组下的包列表

        return $this->belongsToMany(GamePackage::class,'group_package','server_group_id','game_package_id');
    }

}
